$OpenBSD: patch-data_Init_in,v 1.8 2017/04/16 12:43:20 ajacoutot Exp $
--- data/Init.in.orig	Thu Apr  2 15:52:42 2015
+++ data/Init.in	Wed Apr 15 16:43:30 2015
@@ -6,6 +6,9 @@
 PATH="@X_PATH@:$PATH"
 OLD_IFS=$IFS
 
+# enhance fade in look
+xsetroot -solid black
+
 gdmwhich () {
   COMMAND="$1"
   OUTPUT=
@@ -85,5 +88,12 @@ if [ "x$SETXKBMAP" != "x" ] ; then
     fi
   fi
 fi
+
+# /etc/X11/xenodm/GiveConsole, fbtab(5)
+if [ -c /dev/drm0 ]; then
+    /sbin/chown _gdm /dev/drm0
+fi
+# XXX OpenBSD needs an implementation of XDG_RUNTIME_DIR
+rm -rf /var/db/gdm/.cache/gnome-shell/runtime-state-*
 
 exit 0
